home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / X11 / xkb / symbols / pc / ar < prev    next >
Text File  |  2005-01-13  |  7KB  |  143 lines

  1.  
  2. // based on a keyboard map from an 'xkb/symbols/ar' file
  3. //
  4. // $XFree86$
  5.  
  6. partial default alphanumeric_keys 
  7. xkb_symbols "basic" {
  8.     name[Group1]= "Arabic";
  9.  
  10. // NOTES:
  11. //
  12. // there is also combined shadda diacritis in AltGr position of simple
  13. // diacritics fatha, fathatan, damma, dammatan, kasra and kasratan
  14. // should a third state be added to Group2 ?
  15. //
  16.  
  17.     key <TLDE> {  [     Arabic_thal,      Arabic_shadda   ]    };
  18.     key <AE01> {  [               1,          exclam      ]     };
  19.     key <AE02> {  [               2,              at      ]     };
  20.     key <AE03> {  [               3,      numbersign      ]     };
  21.     key <AE04> {  [               4,          dollar      ]     };
  22.     key <AE05> {  [               5,         percent      ]     };
  23.     key <AE06> {  [               6,     asciicircum      ]     };
  24.     key <AE07> {  [               7,       ampersand      ]     };
  25.     key <AE08> {  [               8,        asterisk      ]     };
  26.     key <AE09> {  [               9,       parenleft      ]     };
  27.     key <AE10> {  [               0,      parenright      ]     };
  28.     key <AE11> {  [           minus,      underscore      ]     };
  29.     key <AE12> {  [           equal,            plus      ]     };
  30.                         
  31.     key <AD01> {  [      Arabic_dad,     Arabic_fatha     ]     };
  32.     key <AD02> {  [      Arabic_sad,     Arabic_fathatan  ]     };
  33.     key <AD03> {  [     Arabic_theh,     Arabic_damma     ]     };
  34.     key <AD04> {  [      Arabic_qaf,     Arabic_dammatan  ]     };
  35.     key <AD05> {  [      Arabic_feh,       0x100fef9      ]     };
  36.     key <AD06> {  [   Arabic_ghain, Arabic_hamzaunderalef ]     };
  37.     key <AD07> {  [      Arabic_ain,         grave        ]     };
  38.     key <AD08> {  [       Arabic_ha,        division      ]     };
  39.     key <AD09> {  [     Arabic_khah,       multiply       ]     };
  40.     key <AD10> {  [      Arabic_hah,    Arabic_semicolon  ]     };
  41.     key <AD11> {  [     Arabic_jeem,       braceleft      ]     };
  42.     key <AD12> {  [      Arabic_dal,       braceright     ]     };
  43.  
  44.     key <AC01> {  [    Arabic_sheen,       backslash      ]     };
  45.     key <AC02> {  [     Arabic_seen,               S      ]     };
  46.     key <AC03> {  [      Arabic_yeh,       bracketleft    ]     };
  47.     key <AC04> {  [      Arabic_beh,       bracketright   ]     };
  48.     key <AC05> {  [      Arabic_lam,       0x100fef7      ]     };
  49.     key <AC06> {  [     Arabic_alef,   Arabic_hamzaonalef ]     };
  50.     key <AC07> {  [      Arabic_teh,      Arabic_tatweel  ]     };
  51.     key <AC08> {  [     Arabic_noon,      Arabic_comma    ]     };
  52.     key <AC09> {  [     Arabic_meem,         slash        ]     };
  53.     key <AC10> {  [      Arabic_kaf,           colon      ]     };
  54.     key <AC11> {  [      Arabic_tah,        quotedbl      ]     };
  55.     key <BKSL> {  [            less,         greater      ]     };
  56.  
  57.     key <LSGT> {  [             bar,      brokenbar      ]     };
  58.     key <AB01> {  [Arabic_hamzaonyeh,    asciitilde       ]     };
  59.     key <AB02> {  [    Arabic_hamza,      Arabic_sukun    ]     };
  60.     key <AB03> {  [Arabic_hamzaonwaw,     Arabic_kasra    ]     };
  61.     key <AB04> {  [       Arabic_ra,      Arabic_kasratan ]     };
  62.     key <AB05> {  [       0x100fefb,      0x100fef5       ]     };
  63.     key <AB06> {  [Arabic_alefmaksura, Arabic_maddaonalef ]     };
  64.     key <AB07> {  [Arabic_tehmarbuta,    apostrophe       ]     };
  65.     key <AB08> {  [      Arabic_waw,         comma        ]     };
  66.     key <AB09> {  [     Arabic_zain,         period       ]     };
  67.     key <AB10> {  [      Arabic_zah, Arabic_question_mark ]     };
  68.  
  69.     // End alphanumeric section
  70. };
  71.  
  72. partial alphanumeric_keys
  73. xkb_symbols "qwerty" {
  74.     include "pc/ar(basic)"
  75. };
  76.  
  77. partial alphanumeric_keys
  78. xkb_symbols "azerty" {
  79.     include "pc/ar(basic)"
  80.  
  81.     // the north african arabic keyboard differs from the middle east one
  82.     // by the numeric row; it follows French keyboard style
  83.     //
  84.     // PROBLEM: some chars are inaccessible: ! @ # $ % ^ *
  85.     // should they go elsewhere? replace " ' that are now in double ?
  86.     // also, dead_circumflex and dead_diaeresis from French keyboard
  87.     // as well as ugrave are missing, which questions the utility of the
  88.     // other accentuated latin letters. Maybe this is useful only with
  89.     // a French keyboard in Group1 ? Then, shouldn't Group1 be filled ?
  90.  
  91.     key <AE01> {  [       ampersand,               1      ]       };
  92.     key <AE02> {  [          eacute,               2      ]       };
  93.     key <AE03> {  [        quotedbl,               3      ]       };
  94.     key <AE04> {  [      apostrophe,               4      ]       };
  95.     key <AE05> {  [       parenleft,               5      ]       };
  96.     key <AE06> {  [           minus,               6      ]       };
  97.     key <AE07> {  [          egrave,               7      ]       };
  98.     key <AE08> {  [      underscore,               8      ]       };
  99.     key <AE09> {  [        ccedilla,               9      ]       };
  100.     key <AE10> {  [          agrave,               0      ]       };
  101.     key <AE11> {  [      parenright,          degree      ]       };
  102. };
  103.  
  104. partial alphanumeric_keys
  105. xkb_symbols "digits" {
  106.     include "pc/ar(basic)"
  107.  
  108.     // use arabic script digits
  109.  
  110.     key <AE01> {  [       0x1000661,          exclam      ]       };
  111.     key <AE02> {  [       0x1000662,              at      ]       };
  112.     key <AE03> {  [       0x1000663,      numbersign      ]       };
  113.     key <AE04> {  [       0x1000664,          dollar      ]       };
  114.     key <AE05> {  [       0x1000665,         percent      ]       };
  115.     key <AE06> {  [       0x1000666,     asciicircum      ]       };
  116.     key <AE07> {  [       0x1000667,       ampersand      ]       };
  117.     key <AE08> {  [       0x1000668,        asterisk      ]       };
  118.     key <AE09> {  [       0x1000669,       parenleft      ]       };
  119.     key <AE10> {  [       0x1000660,      parenright      ]       };
  120. };
  121.  
  122. partial alphanumeric_keys
  123. xkb_symbols "qwerty_digits" {
  124.     include "pc/ar(digits)"
  125. };
  126.  
  127. partial alphanumeric_keys
  128. xkb_symbols "azerty_digits" {
  129.     include "pc/ar(azerty)"
  130.     
  131.     key <AE01> {  [       ampersand,       0x1000661      ]       };
  132.     key <AE02> {  [          eacute,       0x1000662      ]       };
  133.     key <AE03> {  [        quotedbl,       0x1000663      ]       };
  134.     key <AE04> {  [      apostrophe,       0x1000664      ]       };
  135.     key <AE05> {  [       parenleft,       0x1000665      ]       };
  136.     key <AE06> {  [           minus,       0x1000666      ]       };
  137.     key <AE07> {  [          egrave,       0x1000667      ]       };
  138.     key <AE08> {  [      underscore,       0x1000668      ]       };
  139.     key <AE09> {  [        ccedilla,       0x1000669      ]       };
  140.     key <AE10> {  [          agrave,       0x1000660      ]       };
  141. };
  142.  
  143.